Population class extension: logging module

The class extension for the population object that contains general logging functionality

TODO: https://stackoverflow.com/questions/2183233/how-to-add-a-custom-loglevel-to-pythons-logging-facility/35804945#35804945

class binarycpython.utils.population_extensions.logging_functionality.logging_functionality(**kwargs)[source]

Bases: object

Extension for the Population class containing the general logging class methods

vb_critical(message, *, minimal_verbosity=0)
vb_debug(message, *, minimal_verbosity=4)
vb_error(message, *, minimal_verbosity=1)
vb_info(message, *, minimal_verbosity=3)
vb_warning(message, *, minimal_verbosity=2)
verbose_print(message, minimal_verbosity)[source]

Wrapper method for the verbose print that calls the verbose print with the correct newline